package com.inspur.smartclosing.generalledger.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;
import java.util.Map;

@Path("/SmartClosing")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public interface ClosingService {
    /**
     *
     * 平衡检查
     *
     * @return
     */
    @POST
    @Path(value = "/BalanceCheck")
    Map<String,String> balanceCheck(Map<String,String> param);

    /**
     *
     * 月末结转
     *
     * @return
     */
    @POST
    @Path(value = "/MonthlyBalance")
    Map<String,String> monthlyBalance(Map<String,String> param);


    /**
     *
     * 同步状态表
     *
     * @return
     */
    @POST
    @Path(value = "/SynchronizeState")
    List<Map<String,String>> SynchronizeState(Map<String,String> param);
}
